.wrapper {
    display: flex;
    justify-content: space-between;
    padding: 16px;
    flex-wrap: nowrap;
    position: relative;
}

.column {
    width: 48%;
    margin: 0 1%;
    display: flex;
    flex-direction: column;
}

/* 单列布局样式 */
.singleColumn {
    width: 100%;
    margin: 0;
}

.productItem {
    display: flex;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
    /* 添加最小高度以确保一致的外观 */
    min-height: 120px;
}

.productImageContainer {
    flex: 0 0 120px; /* 调整为120px以更好地匹配商品栏 */
    position: relative;
}

.productImage {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.productInfo {
    flex: 1;
    padding: 12px;
    display: flex;
    flex-direction: column;
}

.productTitle {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.productPriceContainer {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.productPrice {
    color: #f5222d;
    font-size: 18px;
    font-weight: bold;
    margin-right: 8px;
}

.productOriginalPrice {
    color: #999;
    font-size: 12px;
    text-decoration: line-through;
    margin-right: 8px;
}

.discountTag {
    font-size: 12px;
}

.productMeta {
    display: flex;
    justify-content: space-between;
    color: #999;
    font-size: 12px;
    margin-top: auto;
}

.loader {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    text-align: center;
    color: #888;
    font-size: 28px;
    padding: 20px;
}